import service from '../App'

export function get (url) {
  return service({
    method: 'get',
    url: url
  })
}

export function login (phone,password) {
  return service({
    method: 'get',
    url: `/login/cellphone?phone=${phone}&password=${password}`
  })
}

export function status () {
  return service({
    method: 'get',
    url: '/login/status'
  })
}